package com.wangfei.lecture.datawrapper;

import org.springframework.beans.BeanWrapper;
import org.springframework.beans.BeanWrapperImpl;

public class Test {
    public static void main(String[] args) {
        BeanWrapper beanWrapper = new BeanWrapperImpl(new Company());
        beanWrapper.setPropertyValue("name", "My company");

        System.out.println(beanWrapper.getPropertyValue("name"));
    }
}
